/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package music.emotion.engine.facts;

import java.io.Serializable;
import java.util.logging.Level;
import java.util.logging.Logger;

/**
 *
 * @author Morian
 */
public abstract class Facts implements Serializable {

    public int group;
    public String name;
    public String content;

    public Facts(int group, String name, String content) {
        this.group = group;
        this.name = name;
        this.content = content;
    }

    public String getName() {
        return this.name;
    }

    public int getGroup() {
        return this.getGroup();
    }
//    public abstract Facts readFacts();

    public int compareTo(Facts get) {
        return this.name.compareTo(get.name);
    }
}
